package com.res.share.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.res.share.model.ResSend;
import com.baomidou.mybatisplus.extension.service.IService;
import com.res.share.model.dto.MessageModel;

import java.util.List;

/**
 * <p>
 * 发送者 服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-10-28
 */
public interface IResSendService extends IService<ResSend> {

    /**
     * 发件箱
     * @param page
     * @param userId
     * @return
     */
    IPage<MessageModel> findSendBoxList(Page<MessageModel> page, Integer userId);

    void delsendMessageList(List<String> collect, Integer userId);
}
